{% load nav_menu %}
{% with navmenu.item as item %}
<li class="{% if item.is_current %}on{% endif %} {% if child %}child{% endif %}">
    <a href="{{ item.link }}">{{ item.name }}</a>
	{% if item.get_children or item.get_featured %}
		<ul>
			{% for child in item.get_featured %}{% navitem child %}{% endfor %}
			{% if item.is_current %}
				{% for child in item.get_children %}{% navitem child %}{% endfor %}
			{% endif %}
		</ul>
	{% endif %}
</li>
{% endwith %}
